[gd_scene load_steps=9 format=2]

[ext_resource path="res://Scenes/Char/Playable.tscn" type="PackedScene" id=1]
[ext_resource path="res://Sprites/Interactables/Sign/sign.tres" type="Texture" id=2]
[ext_resource path="res://Scripts/SignReact.cs" type="Script" id=3]
[ext_resource path="res://Scripts/Testing.gd" type="Script" id=4]
[ext_resource path="res://icon.png" type="Texture" id=5]

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 31, 31 )

[sub_resource type="ConvexPolygonShape2D" id=2]
points = PoolVector2Array( 49.2769, 41.6088, 15.4522, 41.6088, 15.4522, 14.4821, 49.2769, 14.4821 )

[sub_resource type="TileSet" id=1]
0/name = "sign.tres 0"
0/texture = ExtResource( 2 )
0/tex_offset = Vector2( 0, 0 )
0/modulate = Color( 1, 1, 1, 1 )
0/region = Rect2( 0, 0, 64, 64 )
0/tile_mode = 0
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 2 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,
"one_way_margin": 1.0,
"shape": SubResource( 2 ),
"shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 )
} ]
0/z_index = 0

[node name="RPG Main World" type="Node2D"]

[node name="Camera" type="Camera2D" parent="."]
position = Vector2( 533, 296 )
current = true
drag_margin_h_enabled = true
drag_margin_v_enabled = true
smoothing_enabled = true
smoothing_speed = 7.0
drag_margin_left = 0.05
drag_margin_top = 0.05
drag_margin_right = 0.05
drag_margin_bottom = 0.05

[node name="Playable" parent="." instance=ExtResource( 1 )]
position = Vector2( 533, 296 )

[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Playable"]
remote_path = NodePath("../../Camera")

[node name="Sprite" type="Sprite" parent="." groups=["Interactable"]]
position = Vector2( 324, 356 )
texture = ExtResource( 5 )
script = ExtResource( 4 )

[node name="Label" type="Label" parent="Sprite"]
visible = false
margin_right = 40.0
margin_bottom = 14.0
text = "I am text."
__meta__ = {
"_edit_use_anchors_": false
}

[node name="StaticArea2D" type="Area2D" parent="Sprite" groups=["Interactable"]]
collision_layer = 4
collision_mask = 2

[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite/StaticArea2D"]
shape = SubResource( 3 )

[node name="Sign" type="TileMap" parent="." groups=["Interactable", "Sign1"]]
show_behind_parent = true
tile_set = SubResource( 1 )
show_collision = true
collision_layer = 4
collision_mask = 2
format = 1
tile_data = PoolIntArray( 458761, 0, 0 )
script = ExtResource( 3 )

[node name="Timer" type="Timer" parent="Sign"]
wait_time = 0.431
one_shot = true

[connection signal="area_entered" from="Sprite/StaticArea2D" to="Sprite" method="_on_StaticArea2D_area_entered"]
[connection signal="area_exited" from="Sprite/StaticArea2D" to="Sprite" method="_on_StaticArea2D_area_exited"]
